package com.james;

public class Phone {
    String brand;
    private int price;

    public void setPrice(int price) {
        this.price = price;
    }

    /**
     * 获取
     * @return
     */
    public int getPrice(){
        return price;
    }

    public void call() {
        System.out.println("打电话");
    }

    public void sendMessage() {
        System.out.println("发短信");
    }

}
